Enabling or Disabling Service Mesh for an App with the API

Using this API you can enable or disable service mesh for an application on Data Plane.

To enable or disable service mesh for an application you need the following:

  1. App ID — ID of the app to be accessed, which can be retrieved using the GET /v1/dp/apps method.

  2. Namespace — The namespace where the application is deployed on the data plane.

    Procedure
  1. Use the PUT /v1/dp/apps/{appId}/servicemesh method along with the enable parameter to enable or disable service mesh sidecar of a specified App Id.

  2. Enable parameter (boolean) is used to enable service mesh: true = enable, false = disable.

  3. Include one or more of the query parameters to filter the results. Click the API Documentation button on your Data Plane for more information.